/*Written by ZHANG JUN
  start date: 2000.5.2
  finish date:2000 5.14
*/
#include "common.h"
#include "evaluate.h"

main()
{
 char exp[80];
 int result;
 Bool flag=TRUE;

 exp[0]=0;
 do
 {
 if(!flag)
    printf("\nExpression Error!");
  printf("\nInput Expression:\n");
  get_str(exp,80);
  flag=EvaluateExpression(exp,&result);
 }while(!flag);
  printf("\nResult:%d",result);
}